package com.waijiaojun.tpo.entity;

import com.waijiaojun.tpo.utils.Util;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Peter on 2018/1/30.
 */
public class Question {
    private Long id;//` bigint(20) NOT NULL AUTO_INCREMENT,
    private Long scenario_id;//` bigint(20) DEFAULT NULL,
    private Long number;//` bigint(20) DEFAULT NULL,题号
    private String content_en;//` tinytext COMMENT '题目内容，题干（英文）',
    private String content_cn;//` tinytext COMMENT '题目内容，题干（中文）',
    private String audio_url;//` varchar(512) DEFAULT NULL COMMENT '题目语音Url',
    private Long type;//` bigint(20) DEFAULT NULL COMMENT '题目类型（1单选，2多选，3排序，4表格）',
    private String answer;//` json DEFAULT NULL COMMENT '答案',
    private String option;//` json DEFAULT NULL COMMENT '题目选项，题支',
    private String analysis;//` tinytext COMMENT '题目分析，题目解析',

    private String questionCategoryIds;// 题目所属分类的ids

    public String getQuestionCategoryIds() {
        return questionCategoryIds;
    }

    public void setQuestionCategoryIds(String questionCategoryIds) {
        this.questionCategoryIds = questionCategoryIds;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getScenario_id() {
        return scenario_id;
    }

    public void setScenario_id(Long scenario_id) {
        this.scenario_id = scenario_id;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public String getContent_en() {
        return content_en;
    }

    public void setContent_en(String content_en) {
        this.content_en = content_en;
    }

    public String getContent_cn() {
        return content_cn;
    }

    public void setContent_cn(String content_cn) {
        this.content_cn = content_cn;
    }

    public String getAudio_url() {
        return Util.toFullOssUrl(audio_url);
    }

    public void setAudio_url(String audio_url) {
        this.audio_url = audio_url;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

}

